package com.ilop.wheel;

/**
 * @author skygge@yeah.net
 * @date 2022/8/14.
 */
final class OnItemSelectedRunnable implements Runnable {

    final WheelView loopView;

    OnItemSelectedRunnable(WheelView loopview) {
        loopView = loopview;
    }

    @Override
    public void run() {
        loopView.onItemSelectedListener.onItemSelected(loopView.getSelectedItem());
    }
}
